package cn.bouncyslime.graduationProject.nba.dao;

import cn.bouncyslime.graduationProject.nba.dto.PlayerInfoDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 张一卓
 * @date 2020/4/1 2:52
 **/
@Mapper
public interface PlayerInfoDao {
    void insertPlayerInfo(PlayerInfoDto playerInfoDto);
    List<Integer> listAllPlayerId();
    List<PlayerInfoDto> listTopPlayers();
    List<PlayerInfoDto> queryPlayer(String name, String role, String team);
    PlayerInfoDto getPlayerById(Integer playerId);
}
